package com.codeczx.myretrofitdemo.retrofit;

import java.lang.annotation.Annotation;
import java.lang.reflect.Type;

/**
 * Created by codeczx on 2018/3/7.
 */

public interface CallAdapter<R,T> {

    Type returnType();

    T adapt(Call<R> call);

    abstract class Factory {
        abstract CallAdapter<?,?> get(Type returnType, Annotation[] annotations);
    }


}
